package com.bgs.fegin;
import com.bgs.common.R;
import com.bgs.pojo.vo.DetailOrPicture;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("service-detail")
public interface OneFeign {
    /*根据商品id查询图片*/
    @GetMapping(value = "detail/bgs/order-DetailOrPicture/OneGetDetailId/{orderDetailId}")
    public List<DetailOrPicture> OneGetDetailId(@PathVariable Integer orderDetailId);
}
